import React from 'react';
import InputItem from 'antd-mobile/lib/input-item';
import List from 'antd-mobile/lib/list';


export default class RefundForm extends React.Component {
  handleChange = (key, value) => {
    this.props.logisticsChange(key, value);
  }
  render() {
    return (
      <div className="logistics-form">
        <List className='form-item'>
          <InputItem  onChange={(value) =>{ this.handleChange('delivery_company', value) }} className="refund-input">
            <span>物流公司</span>
          </InputItem>
          <InputItem  onChange={(value) =>{ this.handleChange('delivery_number', value) }}>
            <span>物流单号</span>
          </InputItem>
        </List>
      </div>
    )
  }
}